package com.lc.mapper;

import com.lc.pojo.Car;
import com.lc.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    List<User> queryUserList();

    int addUser(User user);

    int updateUser(User user);

    int deleteUserByPhone(String user_phone);

    public User queryUserByName(String user_phone);
}
